package com.sz.jinzheng.service;

import com.sz.jinzheng.model.BillForm;
import com.sz.jinzheng.model.Interest;

import java.util.Date;
import java.util.List;

public interface TbillFormService {
    public BillForm getAllRepayment(BillForm billForm);//获得用户借款具体信息
//    public  BillForm getInterest(Integer id);//通过ID查询用户选择的还款方式
    public Interest getInterest(Integer id);//通过ID查询用户选择的还款方式
    public BillForm overtime(Integer id);//查询是否逾期和逾期后的违约率;
    public int insertbill(BillForm billForm);//插入
    public List<BillForm> getArrears(Integer borrowInfoId, Integer status, Integer isDeleted);//查询出来用户欠款信息
    public int updateForm(Integer borrowInfoId, Integer whichIssue);//修改账单
    public int updateFormOverdue(Integer id, Integer status, Integer overdueDays, Double penaltyInterest);//修改账单
    public BillForm timePayment(Integer whichIssue, Integer borrowInfoId, Integer id);//查询账单通过当前第几期和用户id
    public BillForm getzhangdan(Integer id, Integer whichIssue) ;//当前月的账单
    public int ModifyAllBills(Integer borrowInfoId) ;//修改全部月的账单为已还款


}
